﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=0,maximum-scale=0,user-scalable=yes,shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>表单设计器</title>
    <link rel="stylesheet" href="/component/layui/css/layui.css" />
	<link rel="stylesheet" href="/component/pear/module/formDesigner/labelGeneration.css" />
    <link rel="stylesheet" href="/component/pear/module/formDesigner/formDesigner.css" />
</head>

<body class="layui-layout-body">

    <input type="hidden" th:value="${formId}" id="fromId">
    <div style="height: 100%; width: 100%;" id="formdesigner"></div>

    <script type="text/javascript" src="/component/layui/layui.js"></script>
    <script type="text/javascript" src="/component/pear/pear.js?t=@DateTimeOffset.Now.ToUnixTimeSeconds()"></script>
    <script type="text/javascript" src="/component/libs/Sortable.min.js"> </script>
    <!--htmlformat 为js-beautify代码-->
    <script type="text/javascript" src="/component/libs/htmlformat.js"></script>
    <script type="text/javascript" src="/component/libs/jsformat.js"></script>
    <script type="text/javascript" src="/component/libs/iceEditor.js"></script>
    <script>
        layui.use(['formDesigner'], function () {
			//
            var formDesigner = layui.formDesigner;
            var data = [];
			var render = formDesigner.render({
				data:data,
				elem:'#formdesigner'
			});

        }); 
    </script>

</body>

</html>